#ifndef  _GLO_DEF_H_
#define  _GLO_DEF_H_

#include "logger.h"

#ifdef __cplusplus
extern "C" {
#endif  /*__cplusplus*/

//#define LOG_DEBUG printf
//#define LOG_WARN  printf
//#define LOG_ERROR printf
//#define LOG_INFO  printf


		/*Global defition*/
#define TRUE  1
#define FALSE 0

#define INVALID_U32  0xFFFF

/* Global type defintions*/
	typedef unsigned char u8;
	typedef unsigned short u16;
	typedef unsigned int  u32; /*int == long */
	typedef signed char   i8;
	typedef signed short  i16;
	typedef signed int    i32;
	typedef float         r32;
	typedef double        r64;
	typedef long double   r128;

	typedef unsigned char BOOL;

	typedef u32            TBooLean;
	typedef i32            TDevid;

	//#ifdef __DCC__

	typedef unsigned  long long u64;
	typedef signed long long i64;

	static const u32  Debugs = 1;
#ifdef __cplusplus
}
#endif // __cplusplus

#endif // !_GLO_DEF_H_


